package com.v0710.docommon.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "v0710")
public class TokenProperties {
    /*token 名称*/
    private String token = "token";
    /* 过期时间 秒*/
    private int expires = 60 * 60;

    public int getExpires() {
        return expires;
    }

    public void setExpires(int expires) {
        this.expires = expires;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}